<!doctype html>
<html>
{include file="head.html"}

<body>

<div class="header">

	<a class="left-btn" href="{$appymdian}"><span class="iconfont icon-back"></span></a>
    <div class="title">寝室统计</div>
</div>
<style>
.kdtable td{height:30px; text-align:center;}
</style>
 

<div class="market_tabs">
  <div class="first_item">共{$data|count}寝室</div>
  <ul class="last_item">
    <li class="b3"><a href="{$baseurl}&orderby=sushe&index={if get('orderby') eq 'sushe' && get('index') eq 'asc'}desc{else}asc{/if}" class="{if get('orderby') eq 'sushe'}cur{/if}">寝室号</a></li>
    <li class="b2"><i class="ico top  {if get('index') eq 'asc'}cur{/if}"></i><br>
      <i class="ico bot {if get('index') eq 'desc'}cur{/if}"></i></li>
    <li class="b1"><a href="{$baseurl}&orderby=order&index={if get('orderby') eq 'order' && get('index') eq 'desc'}asc{else}desc{/if}" class="{if get('orderby') eq 'order'}cur{/if}">订单数</a></li>
  </ul>
</div>

<table class="kdtable">

	{foreach item=c from=$data}
    <tr>
    	<td >{$c.sushe}寝室</td>
        <td><span class="cor1">{$c.unum}</span>人下单</td>
        <td>共<span class="cor1">{$c.num}</span>单</td>
    </tr>
    {/foreach}
</table>
{include file="footer.html"}
</body>
</html>
